
{Common::css('module.css')}
{st:news action="query" flag="tagrelative" tagword="$tagword" havepic="true" row="6" return="clist"}
{if count($clist)>0}
<div class="module-contianer mb15">
    <div class="module-content">
        <h3 class="module-tit">猜你喜欢</h3>
        <div class="module-info">
            {php}
            $first_news = $clist[0];
            {/php}
            <div class="pic">
                <a class="clearfix" href="{$first_news['url']}" target="_blank">
                    <div class="img"><img src="{Common::img($first_news['litpic'],246,142)}" alt="{$first_news['title']}" title="{$first_news['title']}" /></div>
                    <div class="tit"><p>{Common::cutstr_html($first_news['title'],20)}</p></div>
                </a>
            </div>
            <ul class="info-list">

                {loop $clist $l}
                {if $n>1}
                <li>
                    <a class="clearfix" href="{$l['url']}" target="_blank">
                        {Common::cutstr_html($l['title'],20)}
                    </a>
                </li>
                {/if}
                {/loop}


            </ul>
        </div>
    </div>
</div>
{/if}
{/st}

